<extend name="Index:info"/>
<block name="body">
  <div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加轮播</strong></div>
    <div class="body-content">
      <form method="post" class="form-x" action="" enctype="multipart/form-data">
        <div class="form-group">
          <div class="label">
            <label>标题：</label>
          </div>
          <div class="field">
            <input type="text" class="input w50" value="{$bans.title}" name="title" data-validate="required:请输入标题" />
            <div class="tips"></div>
          </div>
        </div>
        <div class="form-group">
          <div class="label">
            <label>图片：</label>
          </div>
          <div class="field" style="">
            <input  type="file" id="url1" name="imgage" class="input tips" style="width:25%; float:left;"   data-toggle="hover" data-place="right" data-image="" /></br></br></br></br>
            <img src="__PUBLIC__{$bans.image}"style="height: 80px; ">
            <div class="tipss"></div>
          </div>
        </div>


        <div class="form-group">
          <div class="label">
            <label>链接：</label>
          </div>
          <div class="field">
            <input class="input" name="url" style="width:40%" value="{$bans.url}"/> 
            <div class="tips"></div>
          </div>
        </div>
        <input type="hidden" name="id" value="{$bans.id}">
        <div class="form-group">
          &nbsp  &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp&nbsp  &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp<input type="submit" value="提交">

        </div>






      </form>
    </div>
  </div>

</block>